{include file=header.html}
<script language="javascript" type="text/javascript" src="{res file=js/jquery-1.2.6.js}"></script>
<body>
<div class="sub-body">
   <div class="tab_info">
      <div class="tab-title-1"><span>样板信息列表</span> </div>
    <table width="100%" cellspacing="0" cellpadding="0" class="tab-display" id="tab-color1">
      <tr>
        <th>序号</th>
        <th type="order" field="arrival_date" order="ASC">到板日期</th>
        <th>板号</th>
		<th>图片</th>
        <th type="order" field="brand_name" order="ASC">品牌</th>
        <th type="order" field="buyer_name" order="ASC">买手</th>
        <th type="order" field="user_name" order="ASC">跟单</th>
        <th>参考样衣</th>
        <th>款式</th>
        <th type="order" field="sample.status" order="ASC">状态</th>
        <th type="order" field="factory_name" order="ASC">工厂</th>
        <th>工厂报价</th>
        <th>是否下单</th>
        <th>订单号</th>
      </tr>
	  <!--{foreach from=$sample_list item=sample name=s}-->
      <tr>
        <td>{$smarty.foreach.s.iteration|escape}</td>
        <td>{$sample.arrival_date|date:Y-m-d}</td>
        <td><a href="temp.php?id={$sample.sample_id}" target="_blank">{$sample.sample_sn|escape}</a></td>
		<td><a href="{$sample.front_pic|escape}" target="_blank"><img src="{$sample.front_pic|escape}" width="50"></a></td>
        <td>{$sample.brand_name|escape}</td>
        <td>{$sample.buyer_name|escape}</td>
        <td>{$sample.user_name}</td>
        <td>{$lang.ref_sample_styles.$sample.ref_sample_style}</td>
        <td>{$sample.style_name|escape}</td>
        <td>{$lang.statuies.$sample.status}</td>
        <td>{$sample.factory_name|escape}</td>
        <td>{$sample.factory_price|escape}</td>
        <td><!--{if $sample.is_order}-->{$lang.yes}<!--{else}-->{$lang.no}<!--{/if}--></td>
        <td>{$sample.order_sn}</td>
      </tr>
	  <!--{/foreach}-->
    </table>

  </div>
  <!--{include file=page.html}-->
</div>
<script type="text/javascript" src="{res file=js/tab_color.js}"></script>
</body>
</html>